Correct INT Flag 8 to set page table entries to the correct value rather than 1 #24
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In the code for the interrupt handler, there is a small table of what the interrupt flags should do
This brings interrupt flag 8, (Replace page table entries with page table byte from interrupt descriptor) closer to what the comment implies it should do, due to a possible mistake in the original implementation in this commit and this second commit claiming to fix it, both from 11 years ago.
Since setting the page table and page table entries are intended to not be possible at the same time, setting page table entries to 1 seems to be a mistake even if it was claimed to be fixed, unless the intended usecase was for the programmer to then go and find the interrupt descriptor and set the number of page table entries themselves now that they're not being remapped?
The original author appears to have no github, somehow, so I can't contact them to ask if this was intended.